package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.SubSite;
import com.weixing.mall.provider.model.vo.SubSiteVo;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 * 子站管理表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface SubSiteMapper extends BaseMapper<SubSite> {

    IPage<SubSiteVo> selectOfPage(@Param("pg")Page page);

    void changeEnable(Long id, int code);
}